package com.learn.training.multithread.chapter6.minchapter1.demo3;

public class DecThread extends Thread {
    public void run() {
        for (int i=0; i<10000; i++) {
            synchronized (Counter.lock2) {
                Counter.count -= 1;
            }
        }
    }
}
